package com.chenjl.transport;

import io.netty.channel.Channel;
/**
 * 由扩展实现钩子函数
 * 2016-9-7 16:25:51
 * @author chenjinlong
 */
public abstract class HookChannelHandler {
	public void channelActive(Channel channel) throws Exception {
		
	}
	public void channelInactive(Channel channel) throws Exception {
		
	}
	public void channelRead(Channel channel,Object msg) throws Exception {
		
	}
	public void exceptionCaught(Channel channel,Throwable cause) throws Exception {
		
	}
}